<?xml version="1.0" encoding="UTF-8"?>
<definitions
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="org.camunda.bpm.engine.test.enginge.test.api.runtime">

  <process id="oneTaskProcess" isExecutable="true">

    <startEvent id="theStart" />
    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="theTask" />
    <userTask id="theTask" name="my task" />    
    <sequenceFlow id="flow2" sourceRef="theTask" targetRef="theEnd" />
    <endEvent id="theEnd" />
    
    <boundaryEvent id="boundaryTimer" cancelActivity="true" attachedToRef="theTask">
      <timerEventDefinition>
        <timeDuration>PT1H</timeDuration>
      </timerEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="flow3" sourceRef="boundaryTimer" targetRef="afterBoundaryTask" />
    <userTask id="afterBoundaryTask" />
    <sequenceFlow id="flow4" sourceRef="afterBoundaryTask" targetRef="boundaryEnd" />
    <endEvent id="boundaryEnd" />
    
    
  </process>

</definitions>
